﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ActivitiesControl.Domain.DAL;
using ActivitiesControl.Repository.DAL.SqlServer;

namespace ActivitiesControl.Repository.DAL
{
    public class RepositoryProvider
        : IRepositoryProvider
    {
        public IActivityRepository GetActivityRepository()
        {
            return new SqlServerActivityRepository();
        }

        public IProjectRepository GetProjectRepository()
        {
            return new SqlServerProjectCustomerRepository();
        }

        public IResourceRepository GetResourceRepository()
        {
            return new SqlServerResourceRepository();
        }

        public IUserRepository GetUserRepository()
        {
            return new SqlServerUserRepository();
        }

		public ICustomerRepository GetCustomerRepository()
		{
			return new SqlServerProjectCustomerRepository();
		}
    }
}
